package kr.co.insoft.core.model.configration.cdt;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlRootElement;

import kr.co.insoft.auth.model.security.User;

@XmlRootElement
public class CDTListParam implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -570749788008981302L;

	public CDTListParam() {
	}

	public CDTListParam(User principal) {
		this.userid = principal.getId();
		this.companyid = principal.getCompanyId();
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	public String getCompanyid() {
		return companyid;
	}

	public void setCompanyid(String companyid) {
		this.companyid = companyid;
	}

	Long userid;
	String companyid;
}
